@echo off
%~d0
cd "%~dp0"

"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MsBuild" "%~dp0\..\..\..\..\..\Setup\acs\AcsSetup.sln" /p:Configuration=Debug
cd ..\..\..\..\..\Setup\acs\AcsSetup\bin\Debug\
cls

SET AcsSetupPath=%~dp0??
SET AcsSetupPath=%AcsSetupPath:\??=%
SET AcsSetupPath=%AcsSetupPath:??=%

AcsSetup.exe "%AcsSetupPath%" "WindowsPhoneCloud"

cd ..\..\..\..\sql
CALL SetupDB.cmd "%~dp0" "WPCloudDB.CS.SQL.ACS.70"
